package com.qianchang.microfinance.bean;

/**
 * 版 权: 深圳市迪蒙网络科技有限公司
 * 描 述:
 * 修 改 人: zhoulai
 * 修改时间: 2017/8/29 16:09
 */


public class CashLoanDetailBean {

    /**
     * applyAmount : 123.00
     * applyTime : 2017-08-28 17:29:47
     * bankCardInfo : 中国建设银行(8580)
     * borrowFee : 0.01
     * borrowFeeRate : 0.0001
     * deadline : 1个月
     * phone : 13794478888
     * productType : 0
     * projectId : 00101503913230121110
     * realName : 刘文东
     * repaymentType : 等额本息
     * serviceFee : 1.23
     * serviceFeeRate : 1.00%/月
     * serviceFeeSetting : 1
     * status : 6
     * collateralType : 1
     * unit : 1
     * userName : nxqzhe
     */

    private String applyAmount;
    private String applyTime;
    private String bankCardInfo;
    private double borrowFee;
    private double borrowFeeRate;
    private String deadline;
    private String phone;
    private String productType;
    private String projectId;
    private String realName;
    private String repaymentType;
    private String serviceFee;
    private String serviceFeeRate;
    private String serviceFeeSetting;
    private String status;
    private String unit;
    private String userName;
    private String collateralType;
    private String purpose;
    private boolean lastPeriodIsOverdue;
 private boolean isShowAdvanceSettle;
 private String continuedLoadStatus;

    public String getContinuedLoadStatus() {
        return continuedLoadStatus;
    }

    public void setContinuedLoadStatus(String continuedLoadStatus) {
        this.continuedLoadStatus = continuedLoadStatus;
    }

    public boolean isShowAdvanceSettle() {
        return isShowAdvanceSettle;
    }

    public void setShowAdvanceSettle(boolean showAdvanceSettle) {
        isShowAdvanceSettle = showAdvanceSettle;
    }

    public boolean isLastPeriodIsOverdue() {
        return lastPeriodIsOverdue;
    }

    public void setLastPeriodIsOverdue(boolean lastPeriodIsOverdue) {
        this.lastPeriodIsOverdue = lastPeriodIsOverdue;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public String getApplyAmount() {
        return applyAmount;
    }

    public void setApplyAmount(String applyAmount) {
        this.applyAmount = applyAmount;
    }

    public String getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(String applyTime) {
        this.applyTime = applyTime;
    }

    public String getBankCardInfo() {
        return bankCardInfo;
    }

    public void setBankCardInfo(String bankCardInfo) {
        this.bankCardInfo = bankCardInfo;
    }

    public double getBorrowFee() {
        return borrowFee;
    }

    public void setBorrowFee(double borrowFee) {
        this.borrowFee = borrowFee;
    }

    public double getBorrowFeeRate() {
        return borrowFeeRate;
    }

    public void setBorrowFeeRate(double borrowFeeRate) {
        this.borrowFeeRate = borrowFeeRate;
    }

    public String getDeadline() {
        return deadline;
    }

    public void setDeadline(String deadline) {
        this.deadline = deadline;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getRepaymentType() {
        return repaymentType;
    }

    public void setRepaymentType(String repaymentType) {
        this.repaymentType = repaymentType;
    }

    public String getServiceFee() {
        return serviceFee;
    }

    public void setServiceFee(String serviceFee) {
        this.serviceFee = serviceFee;
    }

    public String getServiceFeeRate() {
        return serviceFeeRate;
    }

    public void setServiceFeeRate(String serviceFeeRate) {
        this.serviceFeeRate = serviceFeeRate;
    }

    public String getServiceFeeSetting() {
        return serviceFeeSetting;
    }

    public void setServiceFeeSetting(String serviceFeeSetting) {
        this.serviceFeeSetting = serviceFeeSetting;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCollateralType() {   //0 房产 1：车产
        String collateralName ;
        if("1".equals(collateralType)){
            collateralName = "车产";
        } else{
            collateralName = "房产";
        }
        return collateralName;
    }

    public void setCollateralType(String collateralType) {
        this.collateralType = collateralType;
    }
}
